package com.gitee.fsmxm.ocon.constant;

/**
 * @author fsmxm
 */
public enum AppEnum {
    /**
     * word
     */
    WORD,
    /**
     * excel
     */
    EXCEL,
    /**
     * power point
     */
    POWERPOINT;

    public static AppEnum getInstance(String app) {
        try {
            return valueOf(app.toUpperCase());
        } catch (Exception e) {
            return null;
        }
    }
}
